<template>
  <div id="app">
    <h1>App</h1>
    <!-- 根级路由出⼝ -->
    <router-view/>
  </div>
</template>
<script lang="ts">
import Vue from 'vue'
export default Vue.extend({
  data () {
    return {
      a: 1
    }
  },
  methods: {
    test () {
      console.log(this.a)
    }
  }
})
</script>

<style lang="scss" scoped></style>
